package com.example.liuwangshu.moonmvpsimple.dagger;

import com.example.liuwangshu.moonmvpsimple.net.IpInfoTask;
import com.example.liuwangshu.moonmvpsimple.net.NetTask;

import javax.inject.Singleton;

import dagger.Module;
import dagger.Provides;

/**
 * Created by qinxiang.zhu on 2018/2/12.
 */

@Module
public class NetTaskModule {
    @Singleton
    @Provides
    public NetTask provideIpModule() {
        return new IpInfoTask();
    }
}
